package com.wang.userscenter.users.pojo;

import java.util.Date;

/**
 * 管理员信息
 */
public class Aadmins {
	private Integer id;
	private Integer roleId;
	private String email;
	private String password;
	private String nickName;
	private String trueName;
	private String phone;
	private String qq;
	private String weChat;
	private String photoPath;
	private Byte status;
	private Date createTime;
	private Date updateTime;
	private Date lastLoginTime;
	
	/**
	 * 拥有单个引用
	 */
	private Arole role = new Arole();

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getTrueName() {
		return trueName;
	}

	public void setTrueName(String trueName) {
		this.trueName = trueName;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getWeChat() {
		return weChat;
	}

	public void setWeChat(String weChat) {
		this.weChat = weChat;
	}

	public String getPhotoPath() {
		return photoPath;
	}

	public void setPhotoPath(String photoPath) {
		this.photoPath = photoPath;
	}

	public Byte getStatus() {
		return status;
	}

	public void setStatus(Byte status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	@Override
	public String toString() {
		return "Aadmins [id=" + id + ", roleId=" + roleId + ", email=" + email + ", nickName=" + nickName
				+ ", trueName=" + trueName + ", phone=" + phone + ", qq=" + qq + ", weChat=" + weChat + ", photoPath="
				+ photoPath + ", status=" + status + ", createTime=" + createTime + ", updateTime=" + updateTime
				+ ", lastLoginTime=" + lastLoginTime + "]";
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Arole getRole() {
		return role;
	}

	public void setRole(Arole role) {
		this.role = role;
	}
}
